package com.qianyu.project.mapper;

import com.qianyu.project.entity.WorkLogDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 施工日志明细 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface WorkLogDetailMapper extends BaseMapper<WorkLogDetail> {

    @Select("select * from work_log_detail wld inner join work_org wo on wo.id=wld.org where wld.rzId=#{value}")
    List<Map<String, Object>> getDetail(String id);
}
